package cn.initcap.designpattern.pattern.behavioral.templatemethod;

/**
 * 模版方法模式
 *
 * @author initcap
 * @date Created in 2018/9/23 AM9:10.
 */
public class Test {

    public static void main(String[] args) {
        System.out.println("后端设计模式课程start---");
        AbstractCourse designPatternCourse = new DesignPatternCourse();
        designPatternCourse.makeCourse();
        System.out.println("后端设计模式课程end---");


        System.out.println("前端课程start---");
        AbstractCourse feCourse = new FeCourse(false);
        feCourse.makeCourse();
        System.out.println("后端设计模式课程end---");
    }
}
